package com.fzj.charging.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fzj.charging.common.enumConstants.user.Gender;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Getter;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("charging_user_info")
public class ChargingUserInfo {
    /**
     * 用户id
     */
    @TableId(type = IdType.AUTO)
    Integer id;
    String wxOpenId;
    String nickname;
    BigDecimal balance;
    String username;
    String gender;
    Integer age;
    String occupation;

    /**
     * 登录密码
     */
    String password;
    /**
     * 手机号
     */
    String phone;
}
